// pages/mine/index/index.js
Page({
  data: {
    list: [
      {
        name: '历史记录',
        src: '/static/images/history.png',
        url: '../history/index'
      },
      {
        name: '设置',
        src: '/static/images/setting.png',
        url: ''
      },
      {
        name: '关于我们',
        src: '/static/images/about.png',
        url: ''
      },
      {
        name: '联系我们',
        src: '/static/images/phone.png',
        url: ''
      }
    ]
  },
  onLoad: function (options) {

  },
  go: function (e) {
    let url = e.target.dataset.url
    wx.navigateTo({
      url: url
    })
  }
  
})